projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6a3b1c
)
Fix printing of multiple items in one group without line numbers
author
Dmitry Gutov
<dgutov@yandex.ru>
Thu, 29 Jul 2021 01:57:05 +0000
(
04:57
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Thu, 29 Jul 2021 01:57:36 +0000
(
04:57
+0300)
* lisp/progmodes/xref.el (xref--insert-xrefs):
Fix printing of multiple items in one group without line numbers
(mentioned in bug#49731).
lisp/progmodes/xref.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/xref.el
b/lisp/progmodes/xref.el
index e2cd904a6cde7d245c3ef27bef40800a87d5914d..7453dbed9923bf342968bd684bdea7ac71aec75d 100644
(file)
--- a/
lisp/progmodes/xref.el
+++ b/
lisp/progmodes/xref.el
@@
-966,7
+966,8
@@
GROUP is a string for decoration purposes and XREF is an
'face 'xref-line-number)))))
;; Render multiple matches on the same line, together.
(when (and (equal prev-group group)
- (not (equal prev-line line)))
+ (or (null line)
+ (not (equal prev-line line))))
(insert "\n"))
(xref--insert-propertized
(list 'xref-item xref